import instance from "@/assets/http1"

export const getUserInfo = (id:string)=> instance.get('/user/info',{params:{
    userid:id
}})

//验证手机号
export const getUserPhone =(tel: string) => instance.post('/user/docheckphone', { tel })
//接受验证码
export const getcode =(tel: string) => instance.post('/user/dosendmsgcode', { tel })
//发送验证码 做出回应
export const sondcode =(tel: string,telcode:string) => instance.post('/user/docheckcode', { tel ,telcode})
//确认注册
export const finishregister =(tel: string,password:string) => instance.post('/user/dofinishregister', { tel ,password})
